﻿using Basefr.Attributes;
using Paas.Core.Const.Enums;
using Paas.Core.Meta.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Paas.Core.MetaForms.Entities
{
    /// <summary>
    /// 元数据表单
    /// </summary>
    [MainTable(nameof(MetaForm))]
    public class MetaForm : BaseEntity
    {
        /// <summary>
        /// 表单所属元对象id
        /// </summary>
        public string ObjectId { get; set; }

        /// <summary>
        /// 表单英文名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 表单的显示名称，默认中文
        /// </summary>
        public string Label { get; set; }

        /// <summary>
        /// 描述信息
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 元数据状态
        /// </summary>
        public MetaStatus? CurrentStatus { get; set; }

        /// <summary>
        /// 分组
        /// </summary>
        public string MetaGroup { get; set; }

        /// <summary>
        /// 表单类型
        /// </summary>
        public MetaFormType? MetaFormType { get; set; }

    }

}
